quartz: Move the FullscreenSavedGeometry definition earlier
authorMatthias Clasen <mclasen@redhat.com>
Mon, 27 Oct 2014 10:49:46 +0000 (06:49 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 27 Oct 2014 10:49:46 +0000 (06:49 -0400)
Move the FullscreenSavedGeometry before the first (conditional)
use, to fix the build on OS X 10.6.

https://bugzilla.gnome.org/show_bug.cgi?id=737561

gdk/quartz/gdkwindow-quartz.c

index 0bb8ecf2d3fadfe2bcd96f5130dc029c3de90020..c793705feb465efbcbf33caf64a82ebf3d2c4404 100644 (file)
@@ -44,12 +44,6 @@ static GSList *main_window_stack;
 
 void _gdk_quartz_window_flush (GdkWindowImplQuartz *window_impl);
 
-#ifndef AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER
-static FullscreenSavedGeometry *get_fullscreen_geometry (GdkWindow *window);
-#endif
-
-#define FULLSCREEN_DATA "fullscreen-data"
-
 typedef struct
 {
   gint            x, y;
@@ -58,6 +52,12 @@ typedef struct
 } FullscreenSavedGeometry;
 
 
+#ifndef AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER
+static FullscreenSavedGeometry *get_fullscreen_geometry (GdkWindow *window);
+#endif
+
+#define FULLSCREEN_DATA "fullscreen-data"
+
 static void update_toplevel_order (void);
 static void clear_toplevel_order  (void);